package com.csii.adhoc.dblink.mapper;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.csii.adhoc.dblink.DbLinkPo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DbLinkMapper {
    int deleteDbLinkByPrimaryKey(String connId);

    int insertOneDbLink(DbLinkPo record);

    DbLinkPo selectDbLinkByPrimaryKey(String connId);

    int updateDbLinkByPrimaryKeySelective(DbLinkPo record);

    int updateDbLinkByPrimaryKey(DbLinkPo record);

    IPage<DbLinkPo> selectPageDbLink(Page<DbLinkPo> page,@Param("db") DbLinkPo record);

    List<DbLinkPo> selectPageDbLink(@Param("db") DbLinkPo record);
}